package com.eusoft.demo.enums;

import lombok.Data;

/**
 * @authoe DevMing
 * @data 2021/8/19 10:47
 */

public enum ResultEnum {

    SUCCESS(10000, "成功"),
    DEFAULT(-1, "失败");

    private Integer code;

    private String message;

    ResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }


}
